-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat(docker): refined Dockerfile #456
Conversation
|
cc @chevdor |
|
Thanks for the PR @Akagi201. |
|
Not sure we need the |
|
@chevdor I post this PR to let the docker build process be the same as the manually build process. I think it is important for consistency. When build manually, just run so the Dockerfile should be the same process. I have tested it and you may check it twice. |
|
What I am trying to say is that |
|
I agree with two stage docker build. It is also good for isolating the source code and binary. And I wrote one for my own use. https://github.com/Akagi201/dockerfile/blob/master/polkadot/Dockerfile I am not sure the need for the |
|
What is the size of the image you get in the end with your 2 stages image? |
|
@Akagi201 Thanks again for this PR, I will close it as agreed since the scripts are definitely not required. |
…error Assert specific error for submitting the execution receipt to txpool
Refined the Dockerfile scripts.